#ifndef ADMINLOGIN_HPP
#define ADMINLOGIN_HPP

#include "tools/ReadAndWeite.hpp"

namespace managerSystem {

class admin {
    public:
    admin(const std::string &admin_name);
    admin(const std::string &admin_name, 
            const std::string &admin_password);
    
    // 重载输出运算符
    friend std::ostream &operator<<(std::ostream &os, const admin &a);

  private:
    
    nlohmann::json admin_json_;
    std::string admin_id_;
    std::string admin_name_;

};

} // namespace managerSystem
#endif // ADMINLOGIN_HPP